home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / pctchnqs / 1990 / number6 / structs.asm < prev    next >
Assembly Source File  |  1990-11-27  |  988b  |  25 lines

  1. ; BitMap Structure
  2. ; -----------------------------------------------
  3. struct        bmap
  4. bmType        dw   ?         ; Set to Zero
  5. bmWidth       dw   ?         ; Width of bitmap (in pixels)
  6. bmHeight      dw   ?         ; Height of bitmap in raster lines
  7. bmWidthBytes  dw   ?         ; Bytes per raster line
  8. bmPlanes      db   ?         ; # of color planes in bitmap
  9. bmBitsPixel   db   ?         ; # of adjacent color bits in each pixel
  10. bmBits        dq   ?         ; Ptr to the BitMapData variable's addr.
  11. bmWidDim      dw   ?         ; Width of bitmap in 0.1 mm 
  12. bmHigDim      dw   ?         ; Height of bitmap in 0.1 mm 
  13. BitMapData    db   dup(?)    ; The bitmap data itself
  14. ends
  15.  
  16. ; MetaPictFile Structure
  17. ; -----------------------------------------------
  18. struct        MetaPFile
  19. mfMM          dw   ?         ; Mapping mode
  20. mfxExt        dw   ?         ; X Extent
  21. mfyExt        dw   ?         ; Y Extent
  22. mfData        db   dup(?)    ; The metafile itself
  23. ends
  24.  
  25.